﻿namespace Common
{
    public class NetHead 
    {

        private uint mainId;

        private uint assId;

        private uint handleCode;

        private uint reserve;

        private uint messageSize;



        public uint MainID
        {
            get
            {
                return mainId;
            }
            set
            {
                mainId = value;
            }
        }

        public uint AssID
        {
            get
            {
                return assId;
            }
            set
            {
                assId = value;
            }
        }

        public uint HandleCode
        {
            get
            {
                return handleCode;
            }
            set
            {
                handleCode = value;
            }
        }

        public uint Reserve
        {
            get
            {
                return reserve;
            }
            set
            {
                reserve = value;
            }
        }

        public uint MessageSize
        {
            get
            {
                return messageSize;
            }
            set
            {
                messageSize = value;
            }
        }

        public uint HeadSize
        {
            get
            {

                return 20;
            }
        }
    }

}